<!--
 * @Author: Y先森
 * @Date: 2023-05-09 10:17:57
 * @LastEditors: y && 250048395@qq.com
 * @LastEditTime: 2023-05-09 10:47:20
 * @FilePath: \y-website\src\views\creation\components\navigation\index.vue
-->
<template>
    <mobile-navigation-vue v-if="isMobileTerminal" />
    <pc-navigation-vue v-else></pc-navigation-vue>
  </template>
  
  <script setup>
  import { isMobileTerminal } from '@/utils/flexible'
  import mobileNavigationVue from './mobile/index.vue'
  import pcNavigationVue from './pc/index.vue'
  import { useStore } from 'vuex'
  
  const store = useStore()
  // 触发 category 数据获取动作
  store.dispatch('category/useCategoryData','creation')
  </script>
  
  <style lang="scss" scoped></style>